package org.slf4j.impl;

import org.slf4j.ILoggerFactory;
import org.slf4j.spi.LoggerFactoryBinder;

public class StaticLoggerBinder implements LoggerFactoryBinder {
  
  private final static StaticLoggerBinder THIS = new StaticLoggerBinder();
  
  public static StaticLoggerBinder getSingleton() {
    return THIS;
  }
  
  private static final String loggerFactoryClassStr = LoggerFactory.class
      .getName();
  
  private final ILoggerFactory loggerFactory;
  
  private StaticLoggerBinder() {
    loggerFactory = new LoggerFactory();
  }
  
  public ILoggerFactory getLoggerFactory() {
    return loggerFactory;
  }
  
  public String getLoggerFactoryClassStr() {
    return loggerFactoryClassStr;
  }
}
